#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"

#include "global.h"

void app_main()
{
	printf("app start\n");
	xTaskCreate(plc_gpio_task, "plc_gpio_task", 2048, NULL, 10, NULL);
	printf("plc_gpio_task start\n");
	xTaskCreate(plc_adc_task, "plc_adc_task", 2048, NULL, 10, NULL);
	printf("plc_ble_task start\n");
//	xTaskCreate(plc_uart_task, "plc_uart_task", 1024, NULL, 10, NULL);
//	xTaskCreate(plc_ble_task, "plc_ble_task", 4096, NULL, 10, NULL);
	plc_ble_init();
	printf("plc_ble_task start\n");
}
